package com.test.enums;

/**
 * @Description:
 * @Author: yangzhiwei
 * @Date: 2021/1/6 14:22
 */
public enum  EnumStrategy {
    ADD{
        public  int calcuate(int x, int y) {
           return x + y;
        }
    };

    public  abstract int calcuate(int x,int y);
}
